import {configureStore, EnhancedStore} from "@reduxjs/toolkit";
import userSlice from "./UserSlice";
import ChatsSlice from "./ChatsSlice";
const store:EnhancedStore=configureStore({
    reducer:{
        user:userSlice.reducer,
        chats:ChatsSlice.reducer
    }
})

export default store;